package com.siae.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("item_type")
@Schema(name = "item_type",description = "项目类别信息")
public class ItemType {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(name = "name",description = "项目类别的名称")
    @TableField(value = "name")
    private String name;
    @Schema(name = "description",description = "项目类别的描述")
    @TableField(value = "description")
    private String description;
    @Schema(name = "createdAt",description = "创建时间")
    @TableField(value = "created_at")
    private Date createdAt;
    @Schema(name = "updatedAt",description = "修改时间")
    @TableField(value = "updated_at")
    private Date updatedAt;
    @Schema(name = "isDel",description = "逻辑删除 0：未删 1：已删")
    @TableField(value = "is_del")
    private Integer isDel;
}
